<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<device-width>, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>
        爱心
    </h1>
    <div id="love"> </div>
    <style>
        #love{
            width: 200px;
            height: 200px;
            background: red;
            position: relative;
            transform: rotate(45deg); 
            margin-left: 200px;  
        }
        #love::before{
            content: "";
            width: 200px;
            height: 200px;
            background: red;
            position: absolute;
            top: -100px;
            border-radius: 50%;     
           
        }
        #love::after{
            content: "";
            width: 200px;
            height: 200px;  
            background: red;    
            position: absolute; 
            left: -100px    ;   
            border-radius: 50%; 
              
        }

    </style>
</body>
</html>